dcd81e
@@ -373,6 +373,7 @@
private void writeBlock() throws IOException {
 
         currRecIdx = 0;
         currBlkIdx++;
+        Arrays.fill(blockBuffer, (byte) 0);
     }
 
     /**
